package com.gym.code.config.admin.bean.method;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author xinchun.wang 
   @email: 532002108@qq.com
 * @createTime 2015-4-26 下午3:27:28
 */
public class MethodMappingBean extends MethodBaseMappingBean {
	
	public MethodMappingBean(MethodBaseMappingBean baseBean){
		this.functionName = baseBean.functionName;
		this.id = baseBean.id;
		this.methodOperateType = baseBean.methodOperateType;
		this.methodResultType = baseBean.methodResultType;
		this.methodParameterType = baseBean.methodParameterType;
	}
	
	/**
	 * 参数列表
	 */
	private List<MethodColumnMappingBean> parameterList;
	
	/**
	 * 结果列表
	 */
	private List<MethodColumnMappingBean> resultList;
	
	
	/**
	 * update列表
	 */
	private List<MethodColumnMappingBean> updateList;

	public List<MethodColumnMappingBean> getParameterList() {
		if(parameterList == null){
			parameterList = new ArrayList<MethodColumnMappingBean>();
		}
		return parameterList;
	}


	public List<MethodColumnMappingBean> getResultList() {
		if(resultList == null){
			resultList = new ArrayList<MethodColumnMappingBean>();
		}
		return resultList;
	}


	public List<MethodColumnMappingBean> getUpdateList() {
		if(updateList == null){
			updateList = new ArrayList<MethodColumnMappingBean>();
		}
		return updateList;
	}
	
	

}
